Searched hist:e992a6eda9a1eeeab73a8d2792464e4a2b1ebc3b (Results 1 – 2 of 2) sorted by last modified time
/linux/net/netlink/ |
H A D | genetlink.c | diff e992a6eda9a1eeeab73a8d2792464e4a2b1ebc3b Sat Oct 03 10:44:46 CEST 2020 Jakub Kicinski <kuba@kernel.org> genetlink: allow dumping command-specific policy
Right now CTRL_CMD_GETPOLICY can only dump the family-wide policy. Support dumping policy of a specific op.
v3: - rebase after per-op policy export and handle that v2: - make cmd U32, just in case. v1: - don't echo op in the output in a naive way, this should make it cleaner to extend the output format for dumping policies for all the commands at once in the future.
Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20201001225933.1373426-11-kuba@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/uapi/linux/ |
H A D | genetlink.h | diff e992a6eda9a1eeeab73a8d2792464e4a2b1ebc3b Sat Oct 03 10:44:46 CEST 2020 Jakub Kicinski <kuba@kernel.org> genetlink: allow dumping command-specific policy
Right now CTRL_CMD_GETPOLICY can only dump the family-wide policy. Support dumping policy of a specific op.
v3: - rebase after per-op policy export and handle that v2: - make cmd U32, just in case. v1: - don't echo op in the output in a naive way, this should make it cleaner to extend the output format for dumping policies for all the commands at once in the future.
Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20201001225933.1373426-11-kuba@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|